micro_utils.dokka
0.18.1
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]convert
convert
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2
@
JvmName
(
name
=
"convertFromT2"
)
suspend
fun
<
T1
,
T2
>
SimpleSuspendableMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
suspend
fun
<
T1
,
T2
>
SimpleSuspendableMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2